<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>Turnador - Pagina Principal</title>
        <link rel="stylesheet" href="resources/css/styles.css"/>
        
    </h:head>
    <h:body>
        Bienvenido
        <h:form>
            <p:growl id="messages"/> 
            <p:layout fullPage="true">  

                <p:layoutUnit position="north" size="50" resizable="false" closable="false" collapsible="true">  
                    <h:outputText value="Bienvenido #{loginBean.usuario.nomUsua} " style="font-size: 20px; alignment-adjust: central"/> 
                             
                </p:layoutUnit>  

                <p:layoutUnit position="south" size="30" resizable="false" closable="false" collapsible="true">  
                   <h:outputText value="South unit content." />  
                </p:layoutUnit>  

                <p:layoutUnit position="west" size="200" header="Menú Principal" resizable="true" closable="true" collapsible="true" >  
                      <p:panelMenu style="width: 200px">  
                        <p:submenu label="Mantenimiento" icon="ui-icon-document">
                            <p:menuitem value="Estudiantes" url="#" />  
                            <p:menuitem value="Facultades" url="#" />  
                            <p:menuitem value="Programas" url="#" />  
                            <p:menuitem value="Niveles de Formaci&oacute;n" url="#" />  
                        </p:submenu>

                        <p:submenu label="Imprimir" icon="ui-icon-pencil">  
                            <p:menuitem value="Liquidaci&oacute;n" url="#" icon="ui-icon-arrowreturnthick-1-w" />  
                            <p:menuitem value="Certificado" url="#" icon="ui-icon-arrowreturnthick-1-e" />  
                        </p:submenu>  

                        <p:submenu label="Configuraci&oacute;n" icon="ui-icon-help">  
                            <p:menuitem value="Actualizar Contrase&ntilde;a" url="#" />  
                            <p:menuitem value="Realizar copia de seguridad" url="#" />
                            <p:menuitem value="Actualizar Perfil" url="#" />
                        </p:submenu>  

              
                    </p:panelMenu> 
                </p:layoutUnit>  

                <p:layoutUnit position="east" size="200" header="Right" resizable="true" closable="true" collapsible="true" effect="drop">  
                   <h:outputText value="Right unit content." />  
                </p:layoutUnit>  

                <p:layoutUnit position="center">  
                    <h:form>  
                    This fullPage layout consists of five different layoutUnits which are resizable and closable by default.  

                    </h:form>  
                </p:layoutUnit>  

            </p:layout>
          
        </h:form>
    </h:body>
</html>

